home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / doc / sana2lib.doc < prev    next >
Text File  |  1994-04-25  |  3KB  |  90 lines

  1. TABLE OF CONTENTS
  2.  
  3. sana2.lib/sana2perror
  4. sana2.lib/sana2PrintFault
  5. sana2.lib/sana2wire_errlist
  6. sana2.lib/sana2perror                                   sana2.lib/sana2perror
  7.  
  8.    NAME
  9.        sana2perror - print SANA-II device error messages
  10.  
  11.    SYNOPSIS
  12.        #include <devices/sana2.h>
  13.  
  14.        sana2perror(banner, ios2request)
  15.  
  16.        void sana2perror(const char *, struct IOSana2Req *)
  17.  
  18.    FUNCTION
  19.        The sana2perror() function finds the error message corresponding to
  20.        the error in the given SANA-II IO request and writes it, followed by a
  21.        newline, to the stderr.  If the argument string is non-NULL it is
  22.        preappended to the message string and separated from it by a colon and
  23.        space (`: ').  If string is NULL only the error message string is
  24.        printed.
  25.  
  26.    NOTES
  27.        The sana2perror() function requires the stdio functions to be linked.
  28.  
  29.    SEE ALSO
  30.        Sana2PrintFault()
  31.  
  32. sana2.lib/sana2PrintFault                           sana2.lib/sana2PrintFault
  33.  
  34.    NAME
  35.        Sana2PrintFault - print SANA-II device error messages
  36.  
  37.    SYNOPSIS
  38.        #include <devices/sana2.h>
  39.  
  40.        Sana2PrintFault(banner, ios2request)
  41.  
  42.        void Sana2PrintFault(const char *, struct IOSana2Req *)
  43.  
  44.    FUNCTION
  45.        The Sana2PrintFault() function finds the error message corresponding
  46.        to the error in the given SANA-II IO request and writes it, followed
  47.        by a newline, to the Output().  If the argument string is non-NULL it
  48.        is preappended to the message string and separated from it by a colon
  49.        and space (`: ').  If string is NULL only the error message string is
  50.        printed.
  51.  
  52.    SEE ALSO
  53.        Sana2PrintFault()
  54.  
  55. sana2.lib/sana2wire_errlist                       sana2.lib/sana2wire_errlist
  56.  
  57.    NAME
  58.        sana2wire_errlist - SANA-II device error messages
  59.  
  60.    SYNOPSIS
  61.        #include <devices/sana2.h>
  62.  
  63.        const char * const sana2wire_errlist[];
  64.        const short sana2wire_nerr;
  65.  
  66.        const char * const io_errlist[];
  67.        const short io_nerr;
  68.  
  69.        const char * const sana2io_errlist[];
  70.        const short sana2io_nerr;
  71.  
  72.    FUNCTION
  73.        These arrays contain error messages corresponding to the error codes
  74.        returned by SANA-II devices.  The list sana2wire_errlist contains
  75.        error messages for error codes in the structure IOSana2Req field
  76.        ios2_WireError.  The sana2wire_nerr contains number of error messages
  77.        in the array sana2wire_errlist.
  78.  
  79.        The list io_errlist contains error messages for normal IO errors
  80.        common for all IO devices.  The io_nerr contains number of error
  81.        messages in the array io_errlist.
  82.  
  83.        The list sana2io_errlist contains error messages for SANA-II-specific
  84.        IO errors.  The sana2io_nerr contains number of error messages in the
  85.        array sana2io_errlist.
  86.  
  87.    SEE ALSO
  88.        Sana2PrintFault(), sana2perror()
  89.  
  90.